package cn.hznc.controller.order.strategy;

import cn.hutool.core.util.ObjectUtil;
import cn.hznc.domain.request.order.AbutmentOrderReq;

import java.util.List;

/**
 * @Author：Administrator
 * @Date：2024/2/22 14:42
 */
public class AbutmentOrderDataContext{

    private AbutmentOrderDataStrategy abutmentOrderDataStrategy;

    public AbutmentOrderDataContext(){

    }

    public AbutmentOrderDataContext(AbutmentOrderDataStrategy abutmentOrderDataStrategy){
        this.abutmentOrderDataStrategy = abutmentOrderDataStrategy;
    }

    public List<String> abutmentData(AbutmentOrderReq abutmentOrderReq){
        return abutmentOrderDataStrategy.abutmentData(abutmentOrderReq);
    }

    public List<String> abutmentData(List<String> taskIds){
        return abutmentOrderDataStrategy.abutmentData(taskIds);
    }
}
